var username=process.argv[2];
var password = process.argv[3];

var str =  username + password;
var buf1 = Buffer.from(str);
var str1 = buf1.toString("base64");

console.log("用户名：" + username + " 密码： " + password);
console.log("base64加密： " +str1);